package health_system.health_system.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.CONFLICT)
public class FollowAlreadyExistsException extends FollowException {
    
    public FollowAlreadyExistsException(Long followerId, Long followedId) {
        super(String.format("User %d already follows user %d", followerId, followedId));
    }
} 